package com.cloudlead.common.lang.api;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

import com.cloudlead.common.lang.Null;

@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class AsyncActionResponse extends SimpleActionResponse<Null> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 983763986818268866L;

	public AsyncActionResponse() {
		super();
		this.code = ResponseCode.ACCEPTED.code();
		this.message = ResponseCode.ACCEPTED.reason();
	}


	@Override
	public String toString() {
		return "AsyncActionResponse {requestId:" + requestId + ", code:" + code + "}";
	}

}
